﻿<UserControl x:Class="SLWCFPowerShellOutput.Page"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Height="250" Width="300" OpacityMask="#FF000000" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <UserControl.Resources>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="White">
        <Canvas x:Name="screens" RenderTransformOrigin="0.5,0.5" Height="250" >
            <Canvas.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                    <MatrixTransform></MatrixTransform>
                </TransformGroup>
            </Canvas.RenderTransform>

            <!--Clip="M0.5,25.5 L149.5,0.5 L149.5,199.5 L0.5,162.5 z"-->
            <Grid x:Name="front" Background="#CC000000" RenderTransformOrigin=".5,.5" Height="220" Width="300"  Opacity="0.8">
                <Grid.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Grid.RenderTransform>
                <TextBox Foreground="White" Background="DarkBlue" Name="txtPoshResult" VerticalScrollBarVisibility="Visible" />

            </Grid>
            <Grid x:Name="back" Background="#CC000000" RenderTransformOrigin=".5,.5" Height="220" Width="300" Opacity="0.8" d:IsHidden="True" >
                <Grid.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Grid.RenderTransform>
                <TextBox Foreground="Black" AcceptsReturn="True" Name="txtPoshCode" >
                    <TextBox.Background>
                        <ImageBrush  ImageSource="powershell.jpg" Opacity="0.8" />
                    </TextBox.Background>
                </TextBox>
            </Grid>
        </Canvas>
        <Grid>            
        </Grid>
        <Button Height="25" HorizontalAlignment="Left" Margin="2,0,8,2" Background="DarkGoldenrod" x:Name="btnRotate" VerticalAlignment="Bottom" Width="135" RenderTransformOrigin="-2.19199991226196,4.85300016403198" Content="Edit" d:LayoutOverrides="Width, Height"/>
        <Button Height="25" HorizontalAlignment="Right" Margin="8,0,2,2"  x:Name="btnExecute" VerticalAlignment="Bottom" Width="135" RenderTransformOrigin="-2.19199991226196,4.85300016403198" Content="Execute" d:LayoutOverrides="Width, Height"/>
    </Grid>
</UserControl>
